package com.hand.entity;

import javax.xml.bind.annotation.*;
import java.util.ArrayList;
import java.util.List;

/*******************Copyright Information************************
 *              AUTHOR: Lorin.Mitchell                           *
 *              DATE: 2017/11/7                                 *
 *              TIME: 19:24                                      * 
 ****************************************************************/

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
        "countries"
})
@XmlRootElement(name = "getCountriesResponse", namespace = "http://www.hand-china.com")
public class GetCountriesResponse {
    @XmlElement(namespace = "http://www.hand-china.com", required = true)
    protected List<Country> countries = new ArrayList<>();

    /**
     * ��ȡcountry���Ե�ֵ��
     *
     * @return
     *     possible object is
     *     {@link Country }
     *
     */
    public List<Country> getCountris() {
        return countries;
    }

    /**
     * ����country���Ե�ֵ��
     *
     * @param value
     *     allowed object is
     *     {@link Country }
     *
     */
    public void setCountries(List<Country> value) {
        for (int i =0; i < value.size(); i++)
            countries.add(value.get(i));
    }
}
